package com.sxkf.template.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 杨玉龙
 * @since 2024-12-03 20:05:24
 */
@Getter
@Setter
@TableName("t_payout_record")
@ApiModel(value = "PayoutRecord对象", description = "")
public class PayoutRecord implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId("id")
    private String id;

    @ApiModelProperty("用户id")
    @TableField("user_id")
    private String userId;

    @ApiModelProperty("银行卡id")
    @TableField("bank_card_id")
    private String bankCardId;

    @ApiModelProperty("银行卡号")
    @TableField("bank_card_code")
    private String bankCardCode;

    @ApiModelProperty("价格")
    @TableField("price")
    private BigDecimal price;

    @ApiModelProperty("状态（0=已提交，1=提现中，2=已驳回,3=提现成功,4=提现失败）")
    @TableField("state")
    private String state;

    @TableField("remark")
    private String remark;

    @ApiModelProperty("失败原因")
    @TableField("reason")
    private String reason;

      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


}
